const Koa = require('koa');

const app = new Koa()

app.use((ctx, next)=>{
    console.log('1111')
    next()
})

app.use(()=>{
    console.log('2222')
})


app.listen(3000)

